Optimal. Leaf size=31 \[ \sqrt {2} \tan ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2} \sqrt {x-1}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {661, 203} \begin {gather*} \sqrt {2} \tan ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2} \sqrt {x-1}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 661
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-1+x} \sqrt {1-x^2}} \, dx &=2 \operatorname {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\frac {\sqrt {1-x^2}}{\sqrt {-1+x}}\right )\\ &=\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2} \sqrt {-1+x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 46, normalized size = 1.48 \begin {gather*} -\frac {\sqrt {2} \sqrt {x-1} \sqrt {x+1} \tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {2}}\right )}{\sqrt {1-x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.07, size = 38, normalized size = 1.23 \begin {gather*} -\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {x-1}}{\sqrt {-(x-1)^2-2 (x-1)}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 30, normalized size = 0.97 \begin {gather*} \sqrt {2} \arctan \left (\frac {\sqrt {2} \sqrt {-x^{2} + 1} \sqrt {x - 1}}{x^{2} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.18, size = 36, normalized size = 1.16 \begin {gather*} \frac {1}{2} i \, {\left (\sqrt {2} \log \left (\sqrt {2} + \sqrt {x + 1}\right ) - \sqrt {2} \log \left (-\sqrt {2} + \sqrt {x + 1}\right )\right )} \mathrm {sgn}\relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 39, normalized size = 1.26 \begin {gather*} \frac {\sqrt {-x^{2}+1}\, \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {-x -1}}{2}\right )}{\sqrt {x -1}\, \sqrt {-x -1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {-x^{2} + 1} \sqrt {x - 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {1-x^2}\,\sqrt {x-1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )} \sqrt {x - 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________